//
//  PaiListViewCell.h
//  yigou
//
//  Created by wangdianlei on 2017/2/20.
//  Copyright © 2017年 hanyiwang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PaiListViewBlock.h"
#import "MMMarketPai.h"

@protocol PaiListCellDelegate;

@interface PaiListViewCell : UITableViewCell

@property (strong, nonatomic) PaiListViewBlock *lblock;
@property (strong, nonatomic) PaiListViewBlock *rblock;
@property (strong, nonatomic) MMMarketPai *ldata;
@property (strong, nonatomic) MMMarketPai *rdata;
@property (assign, nonatomic) id<PaiListCellDelegate> delegate;

- (void)fillWithData:(MMMarketPai *)ldata right:(MMMarketPai *)rdata;

@end

@protocol PaiListCellDelegate <NSObject>

- (void)clickPaiList:(MMMarketPai *)data;

@end
